package com.ruoyi.signup.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 账号管理对象 user
 *
 * @author ruoyi
 * @date 2024-06-06
 */
public class SignUp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 作品名称 */
    @Excel(name = "作品名称")
    @NotBlank(message = "请输入作品名称")
    private String work;

    /** 报名组别 */
//    前端数据字典做出下拉选择
    @Excel(name = "报名组别")
    @NotBlank(message = "请选择参赛组别")
    private Long idgroup;

    /** 学校 */
    @Excel(name = "学校")
    @NotBlank(message = "请输入参赛学校")
    private String school;

    /** 参赛团队 */
    @Excel(name = "参赛团队")
    @NotBlank(message = "请输入参赛团队")
    private String team;

    /** 参赛报名表 */
    @Excel(name = "参赛报名表")
    @NotBlank(message = "请上传参赛报名表")
    private String teamorder;

    /** 信息公示件 */
    @Excel(name = "信息公示件")
    @NotBlank(message = "请上传信息公示件")
    private String idmessage;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @Pattern(regexp = "^1[3-9]\\d{9}$")
    private int number;

    /** 教学实施 */
    @Excel(name = "教学实施")
    @NotBlank(message = "请上传教学实施报告")
    private Long study;

    /** 教案 */
    @Excel(name = "教案")
    @NotBlank(message = "请上传教案")
    private Long book;

    /** 视频资料 */
    @Excel(name = "视频资料")
    @NotBlank(message = "请上传视频")
    private Long video;

    /** 专业人才培训方案 */
    @Excel(name = "专业人才培训方案")
    @NotBlank(message = "请上传专业人才培养方案")
    private Long pro;

    /** 课程标准 */
    @Excel(name = "课程标准")
    @NotBlank(message = "请上传课程标准")
    private Long course;

    /** 教材选用 */
    @Excel(name = "教材选用")
    @NotBlank(message = "请上传教材选用说明")
    private Long sbook;



    public String getWork() {
        return work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }

    public String getTeamorder() {
        return teamorder;
    }

    public void setTeamorder(String teamorder) {
        this.teamorder = teamorder;
    }

    public String getIdmessage() {
        return idmessage;
    }

    public void setIdmessage(String idmessage) {
        this.idmessage = idmessage;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Long getStudy() {
        return study;
    }

    public void setStudy(Long study) {
        this.study = study;
    }

    public Long getBook() {
        return book;
    }

    public void setBook(Long book) {
        this.book = book;
    }

    public Long getVideo() {
        return video;
    }

    public void setVideo(Long video) {
        this.video = video;
    }

    public Long getPro() {
        return pro;
    }

    public void setPro(Long pro) {
        this.pro = pro;
    }

    public Long getCourse() {
        return course;
    }

    public void setCourse(Long course) {
        this.course = course;
    }

    public Long getSbook() {
        return sbook;
    }

    public void setSbook(Long sbook) {
        this.sbook = sbook;
    }



    @Override
    public String toString() {
        return "SignUp{" +
                "id=" + id +
                ", work='" + work + '\'' +
                ", idgroup=" + idgroup +
                ", school='" + school + '\'' +
                ", team='" + team + '\'' +
                ", teamorder='" + teamorder + '\'' +
                ", idmessage='" + idmessage + '\'' +
                ", number=" + number +
                ", study=" + study +
                ", book=" + book +
                ", video=" + video +
                ", pro=" + pro +
                ", course=" + course +
                ", sbook=" + sbook +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}




